package cn.com.api.service.base;
import java.util.List;
import org.springframework.stereotype.Service;
import cn.com.api.entity.ApiT_address;

/**
 * 
 */
@Service
public interface T_addressServiceBase {

	//根据id查看
	public ApiT_address findT_addressById(Integer id);
	
    //查看数据集
	public List<ApiT_address> findT_addresss();
    
	//添加
 	public int insertT_address(ApiT_address t_address);
  	
	//修改
    public int updateT_address(ApiT_address t_address);
    
    //删除
    public int deleteT_address(Integer id);
    
    
    public void updateEnableZero(String uid,String id);
    
    
    public List<ApiT_address> getAddressesByUserId(String uid);
    

    
    public void updateEnableByUserId(String uid);
    
    public void updateEnableById(String id);
    
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
 
}


